//
//  CEHttpModel.swift
//  CJPack
//
//  Created by 陈警卫 on 2024-12-13.
//

import Foundation

class CERootModel<T: Codable>: Codable {
    let code: Int
    let message: String
    var data: T?
}

class CETokenModel: Codable {
    let accessToken: String
    var refreshToken: String
}

class CEUserInfoModel: Codable {
    let userId: String
    let userName: String
    let headImg: String
    let email: String?
}

class CELoginModel: Codable {
    var token: CETokenModel
    var userInfo: CEUserInfoModel
    
    var logined: Bool? = false
}
